package com.edt.ichannel.api.service;

import com.edt.ichannel.api.entiy.local.OrderCreditCK;
import com.edt.ichannel.api.entiy.local.OrderCreditKd;
import com.edt.ichannel.api.entiy.local.OrderCreditMonth;

public interface ComputeService {

    /**
     * 计算成卡佣金
     * @param orderCreditCK
     *             成卡信息
     * @author 孙梁
     * 2018/10/23 11:18
     */
    void computCommissionCK(OrderCreditCK orderCreditCK);

    /**
     * 计算宽带佣金
     * @param orderCreditKd
     *             宽带信息
     * @author 孙梁
     * 2018/10/23 11:18
     */
    void computCommissionKD(OrderCreditKd orderCreditKd);


    void computCommissionCKC(OrderCreditCK orderCreditCK);

    void computCommissionKDC(OrderCreditKd orderCreditKd);


    /**
     * 按月发放，每月定时计算佣金
     * @param orderCreditMonth 需要计算的数据
     */
    void computeCommissionMonth(OrderCreditMonth orderCreditMonth);
}
